import http from "../utils/http/http";
//遍历查
const getDeviceInfoData = (data) => {
    return http.get("/deviceInfo/list", data);
};
//查数据表总记录数
const countDeviceInfoData = (data) => {
    return http.get("/deviceInfo/total", data);
};
//按名称查找
const getDeviceNameInfoData = (data) => {
    return http.get("/deviceInfo/findByDeviceName", data);
};

//显示详细信息
const getDeviceDetailInfoData = (data) => {
    return http.get("/deviceDetail/listall", data);
};

//选择后显示详细信息
const getChooseDeviceDetailInfoData = (data) => {
    return http.get("/deviceDetail/findByDeviceCodes", data);
};
export default {
    getDeviceInfoData, countDeviceInfoData, getDeviceNameInfoData, getDeviceDetailInfoData, getChooseDeviceDetailInfoData
}